﻿using Fonour.Application.Dtos;
using Fonour.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Fonour.Application.Services.Interfaces
{
    public interface IMenuAppService : IServiceBase<MenuDto, Menu>
    {
        /// <summary>
        /// 根据用户获取功能菜单
        /// </summary>
        /// <param name="userId">用户ID</param>
        /// <returns></returns>
        Task<List<MenuDto>> GetMenusByUserAsync(Guid userId);
    }
}
